<?PHP
    $pp_path="..";
    include_once ($pp_path."/common.php");
    include_once ($pp['lib_path']."/gcm.lib.php");

    $gcm=new gcm;
    $result=$gcm->unregist($d_code, $p_code);

    if ($result)
        echo "Success";
    else
        echo "Failed";
?>